package grape.workflow.rest.definition.vo;

import grape.common.rest.vo.BaseVo;
import grape.workflow.rest.form.vo.FormTypeVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * Created by yangwei
 * Created at 2020/6/28 14:31
 */
@Data
@EqualsAndHashCode(callSuper=false)
@ApiModel("流程定义数据响应对象")
public class ProcessDefinitionVo extends BaseVo {

    @ApiModelProperty("流程定义id")
    private String id;
    @ApiModelProperty("流程定义key")
    private String key;
    @ApiModelProperty("流程定义版本")
    private Integer version;
    @ApiModelProperty("流程定义名称")
    private String name;

    @ApiModelProperty("开始表单标识")
    private String startFormKey;

    @ApiModelProperty("开始表单类型")
    private FormTypeVo startFormType;
}
